package com.anolesoft.yr.mbus.cont.service;

import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.anolesoft.yr.mbus.cont.entity.ContMainExample;
import com.anolesoft.yr.mbus.cont.entity.ContMain;
import com.anolesoft.yr.mbus.cont.dao.ContMainDao;
@Service
public class ContMainService extends ServiceImpl<ContMainDao, ContMain> {

    
    public long countByExample(ContMainExample example) {
        return baseMapper.countByExample(example);
    }
    
    public int deleteByExample(ContMainExample example) {
        return baseMapper.deleteByExample(example);
    }
    
    public List<ContMain> selectByExample(ContMainExample example) {
        return baseMapper.selectByExample(example);
    }
    
    public int updateByExampleSelective(ContMain record,ContMainExample example) {
        return baseMapper.updateByExampleSelective(record,example);
    }
    
    public int updateByExample(ContMain record,ContMainExample example) {
        return baseMapper.updateByExample(record,example);
    }
    
    public int updateBatch(List<ContMain> list) {
        return baseMapper.updateBatch(list);
    }
    
    public int updateBatchSelective(List<ContMain> list) {
        return baseMapper.updateBatchSelective(list);
    }
    
    public int batchInsert(List<ContMain> list) {
        return baseMapper.batchInsert(list);
    }
    
    public int insertOrUpdate(ContMain record) {
        return baseMapper.insertOrUpdate(record);
    }
    
    public int insertOrUpdateSelective(ContMain record) {
        return baseMapper.insertOrUpdateSelective(record);
    }
}
